 <div class="header"> 
   <div class="headercontain"> 
    <div class="logo"> 
     <img src="images/104003_medias_20141215_20141215logo.jpg?v=635542641034400000" /> 
    </div> 
    <!--module:login begin--> 
    <div class="bs-module"> 
     <div class="login-link "> 
      <div class="login-hearder"> 
       <ul class="header-login"> 

        <li class="welcome"><span><span class="userName" style="float:none"></span>，欢迎您  <font style="color:red">
          <?php
       //print_r(Yii::$app->user->identity);die;
        if(!empty(Yii::$app->user->identity))
        {   
          $controllerID = Yii::$app->controller->id;

          $info = Yii::$app->user->identity;
          echo $info->username;
          echo '<img src="../'.$info->img.'" width="30px">';
        }


         ?></font>！</span></li> 
     
        <li class="PortalIndex"><a href="?r=member/account"><span>个人中心</span></a></li> 
        <li class="LogoutUrl"><a href="?r=user/out"><span>退出</span></a></li> 
       </ul> 
       <ul class="header-unLogin"> 
        <li><a class="loginlink" href="?r=user/login"> <span>登录</span> </a></li> 
        <li><a class="reglink" href="?r=user/reg"><span> 注册</span></a></li> 
       </ul> 
      </div> 
    <script type="text/javascript">
 $.post("ajax.php", {type:"1"}, function(data) {
                var loginView = $(".login-hearder .header-login");
                var unLoginView = $(".login-hearder .header-unLogin");
                if (data.name != '') {
                    loginView.find('.userName').text(data.name);
                    loginView.show()
                }
                else {
                    unLoginView.show()
                }
            }, "json")
     </script>
     </div> 
    </div> 
    <!--module:login end-->
    <!--module:internalrecommend begin--> 
    <div class="bs-module"> 
     <div class="internalrecommend-default "> 
      <div class="internaldiv"> 
       <a class="internal" href="http://neitui.zhiye.com/51talk" target="_blank">内部推荐专区</a> 
      </div> 
     </div> 
    </div> 
    <!--module:internalrecommend end--> 
   </div> 
  </div>
  <div class="nav"> 
   <!--module:menu begin--> 
   <div class="bs-module"> 
    <div class="menu-simple "> 
     <ul id="portalmenu"> 
      <li><a target="_self" href="javascript:void(0)" class="current">首页</a> </li> 
      <li><a target="_self" href="?r=zhao/jobs" class="">全部职位</a> </li> 
      <li><a target="_self" href="?r=zhao/index" class="">社会招聘</a> </li> 
      <li><a target="_self" href="?r=zhao/school" class="">校园招聘</a> </li> 
      <li><a target="_self" href="jobs.html" class="">实习生招聘</a> </li> 
      <li><a target="_self" href="about.html" class="">公司介绍</a> </li> 
      <li><a target="_self" href="contact.html" class="">联系我们</a> </li> 
     </ul> 
    </div> 
   </div> 
   <!--module:menu end--> 
  </div> 

<?= $content ?>
<div class="footer">
   <span> &copy;2015&nbsp;&nbsp;51talk&nbsp;&nbsp;京ICP备05051632号 京公网安备110108002767号 &nbsp;Powered by&nbsp;<a href="http://www.beisen.com" class="footerlogo" target="_blank"></a> </span> 
 </div> 
